package com.aps.service.rep;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.aps.entity.domain.order.ApsOrder;
import com.aps.entity.eunm.OrderStatus;

/**
 * 
 */
public interface ApsOrderRep extends JpaRepository<ApsOrder, String> {

    ApsOrder findByOrderNum(String orderNum);

    List<ApsOrder> findByStatusOrderByOrderTimeAsc(OrderStatus status);
}
